package com.amazon.ags.api;

import android.content.Context;
import android.util.Log;
import android.widget.Toast;

public class DefaultAmazonGamesCallback
  implements AmazonGamesCallback
{
  private static final String FEATURE_NAME = "AGC";
  private static final String SERVICE_CONNECTED = "Client Ready";
  private static final String SERVICE_DISCONNECTED = "Client not Ready: ";
  private static final String TAG = "AGC_" + DefaultAmazonGamesCallback.class.getSimpleName();
  private final Context context;

  public DefaultAmazonGamesCallback(Context paramContext)
  {
    this.context = paramContext;
  }

  private void updateStatus(String paramString)
  {
    Log.d(TAG, paramString);
    Toast.makeText(this.context, paramString, 0).show();
  }

  public void onServiceNotReady(AmazonGamesStatus paramAmazonGamesStatus)
  {
    updateStatus("Client not Ready: " + paramAmazonGamesStatus);
  }

  public void onServiceReady()
  {
    updateStatus("Client Ready");
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.api.DefaultAmazonGamesCallback
 * JD-Core Version:    0.6.2
 */